package com.luzhikun.domain;

import java.util.Date;

/**
 * @Author Rookie Coder
 * @Description
 * @Date
 **/
public class User {

    private String username;
    private String password;
    private String phone;

    public User(String username, String password, String phone, Date date) {
        this.username = username;
        this.password = password;
        this.phone = phone;
        this.date = date;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    private Date date;

    public User(String username, String password) {
        this.username = username;
        this.password = password;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public Date getDate() {
        return date;
    }

    public void setDate(Date date) {
        this.date = date;
    }


    @Override
    public String toString() {
        return "User{" +
                "username='" + username + '\'' +
                ", password='" + password + '\''+
                '}';
    }
}
